const express = require('express')
const router = express.Router()


const userService = require('../service/userService')

// 注册新用户
router.post('/reguser', userService.regUser)
// 登录
router.post('/login', userService.login)


module.exports = router
